package com.xiangyang.pos.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;

import com.xiangyang.pos.R;

/**
 * Created by Administrator on 2017/8/21 0021.
 *
 * 支付失败
 *
 * @author YeDalin
 *
 */

public class DealFailActivity extends Activity {

    private Button bSure;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_deal_fail);
        initView();
        setMyClick();
    }

    private void initView() {
        bSure=findViewById(R.id.b_sure);
    }

    private void setMyClick() {
        bSure.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(DealFailActivity.this,ChoosePayActivity.class);
                startActivity(intent);
            }
        });
    }
}
